-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Fix address_imp_test #11334
Conversation
I will squash the commits when the PR is ready to get merged if this alright with everyone |
Is this tested? From what I have read, abstract names don't work with AF_UNIX on Windows yet. Sunil confirmed that the documentation is incorrect in microsoft/WSL#4240 |
@nigriMSFT I run the envoy tests to validate it. I will look into the issue as well |
As we understood the public facing blogs and notes, abstract names aren't supported on Windows, nor apparently on apple (bsd-derived socket stack). If this is true, we should be able to normalize throughout against |
I also confirmed it internally that abstract names aren't supported on Windows for security reasons. |
Commit Message:
Enable Abstract sockets for Windows and fix test permissions
Additional Description:
With this change we aim to add full support for the address_imp_test on Windows. To achieve this we made the following changes:
BasicPermission
we set the mode to be666
. This allows us to verify in linux that we set the permissions of the socket correctly. This is the equivalent to_S_IREAD | _S_IWRITE
in Windows. In case that we need more granular permission model, we would need to use ACL in Windows.Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A